package com.cyf.merchat.network.bean;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 商户请求的响应基类
 * Created by cage on 2017/2/18.
 */
@Api
@Data
public class MerchantBusinessRsp {
    public static final int SUCCESS = 0;
    public static final int FAIL = -1;
    /* 优惠券数量已达上限 */
    public static final int RESULT_COUPON_MAX = -100;
    @ApiModelProperty(value = "响应码 0成功 -1失败 -100优惠券数量达上限")
    private int result;
    @ApiModelProperty(value = "错误信息")
    private String strError;
    @ApiModelProperty("商户信息")
    private MerchantLoginItem item;
    @ApiModelProperty("优惠券id")
    private List<Integer> couponIds;

}
